home *** CD-ROM | disk | FTP | other *** search
/ 3D GFX / 3D GFX.iso / amiutils / i_l / irit5 / makeflag.tc < prev    next >
Text File  |  1995-12-30  |  2KB  |  87 lines

  1. #
  2. # All libraries created will be installed into the LIB directory.
  3. #
  4. LIB_DIR = d:\bc\mylib
  5. GRAP_LIB = $(LIB_DIR)\grap_lib.lib
  6. PRSR_LIB = $(LIB_DIR)\prsr_lib.lib
  7. GEOM_LIB = $(LIB_DIR)\geom_lib.lib
  8. CAGD_LIB = $(LIB_DIR)\cagd_lib.lib
  9. SYMB_LIB = $(LIB_DIR)\symb_lib.lib
  10. TRIM_LIB = $(LIB_DIR)\trim_lib.lib
  11. TRIV_LIB = $(LIB_DIR)\triv_lib.lib
  12. INTR_LIB = $(LIB_DIR)\intr_lib.lib
  13. MISC_LIB = $(LIB_DIR)\misc_lib.lib
  14. XTRA_LIB = $(LIB_DIR)\xtra_lib.lib
  15. BOOL_LIB = $(LIB_DIR)\bool_lib.lib
  16. GIF_LIB = $(LIB_DIR)\gif_libl.lib
  17.  
  18. #
  19. # Where Borland libraries are to searched for.
  20. #
  21. TC_LIB_DIR = d:\bc\lib
  22.  
  23. #
  24. # All includes files associated with the libraries compiled here will be
  25. # installed into the INC directory.
  26. #
  27. INC_DIR = d:\bc\myinclud
  28.  
  29. #
  30. # All binaries created will be installed into the BIN directory.
  31. #
  32. BIN_DIR = d:\c\irit\bin
  33.  
  34. #
  35. # Location of object file to resolve circularities in libraries.
  36. #
  37. CIRCLINK = d:/c/irit/circlink/circlink.obj
  38.  
  39. #
  40. # Flags for compiler/linker:
  41. #
  42. # CPU/FPA flags.
  43. #
  44. CPUTYPE = -f287 -3
  45.  
  46. #
  47. # Debug flags:
  48. #
  49. # CFLAGS = $(CPUTYPE) -ml -a- -f -c -d -w -v -y -N -k
  50. # LFLAGS = /v/c
  51. #
  52. # Optimized for size flags for Borland C++ 3.x
  53. # Change -O1 to -O2 for speed optimization.
  54. # Warning: You may use -pr options for all tools but IRIT.
  55. #
  56. CFLAGS = $(CPUTYPE) -ml -a- -f -G- -O1 -r -c -d -w -v- -y- -N- -k-
  57. LFLAGS = /x/c
  58.  
  59. #
  60. # Math lib can be one of emu.lib (80x87 emulation) or fp87.lib.
  61. #
  62. MATHLIB = emu.lib
  63.  
  64. # Your C compiler and linker.
  65. CC = bcc
  66. LNK = tlink
  67.  
  68. #
  69. # Default rule for compilation.
  70. #
  71. # The {$< } is also new to TC++ 1.0 make - remove the { } pair if your make
  72. # choke on them (the { } signals batch mode that combines few operation at the
  73. # same time - very nice feature!).
  74. .c.obj:
  75.     $(CC) -I. -I$(INC_DIR) $(CFLAGS) {$< }
  76.  
  77. #
  78. # All libraries.
  79. #
  80. LIBS = $(CIRCLINK) $(BOOL_LIB) $(GEOM_LIB) $(PRSR_LIB) $(GRAP_LIB) \
  81.     $(TRIM_LIB) $(TRIV_LIB)    $(SYMB_LIB) $(CAGD_LIB) $(INTR_LIB) \
  82.     $(MISC_LIB) $(XTRA_LIB) $(GIF_LIB) \
  83.     $(TC_LIB_DIR)\graphics.lib \
  84.     $(TC_LIB_DIR)\$(MATHLIB) \
  85.     $(TC_LIB_DIR)\mathl.lib \
  86.     $(TC_LIB_DIR)\cl.lib
  87.